package com.wy.authority.service.impl;

import com.wy.authority.entity.Post;
import com.wy.authority.mapper.PostMapper;
import com.wy.authority.service.PostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author 忘忧
 * @Date Created in 2021/1/12 14:47
 * @Description:
 */
@Service
public class PostServiceImpl implements PostService {
    @Autowired
    private PostMapper postMapper;

    @Override
    public List<Post> find() {
        return postMapper.find();
    }
}
